<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>公寓管理系统 - 房屋信息更新</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>修改房屋信息</h3>
    <form action="${pageContext.request.contextPath}/less/update?lid=${lessee.lid}" method="post">
        <table class="form-table">
<%--            <tr>--%>
<%--                <td>租户id</td>--%>
<%--                <td colspan="3" class="control">--%>
<%--                    <input type="text" name="lid" value=" ${lessee.lid}">--%>
<%--                </td>--%>
<%--            </tr>--%>
            <tr>
            <td>姓名</td>
            <td colspan="3" class="control">
                <input type="text" name="lname" value="${lessee.lname}">
            </td>
            </tr>
            <tr>
                <td>电话</td>
                <td colspan="3" class="control">
                    <input type="text" name="ltel" value="${lessee.ltel}">
                </td>
            </tr>
            <tr>
                <td>性别</td>
                <td colspan="3" class="control">
                    <select name="lsex">
                        <option value="${lessee.lsex}">${lessee.lsex==1? '男' : '女'}</option>
                        <option value="1">男</option>
                        <option value="2">女</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>籍贯</td>
                <td colspan="3" class="control">
                    <input type="text" name="lnp" value="${lessee.lnp}">
                </td>
            </tr>
            <tr>
                <td>身份证号</td>
                <td colspan="3" class="control">
                    <input type="text" name="lidCard" value="${lessee.lidCard}">
                </td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>
